﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ymca.Entities;

namespace Ymca.Web.Services.Interfaces
{
	public interface IGalleryService
	{
		GalleryGroup CreateGallery(string title);
		bool DeleteGallery(int id);
		GalleryGroup GetGallery(int id);
		GalleryGroup GetGalleryByPostId(int postId);
		GalleryGroup EditGallery(GalleryGroup gallery);
		IEnumerable<GalleryGroup> GetGalleries();

		void AddGalleryItem(GalleryItem item, int galleryid);
		void AddGalleryItems(IEnumerable<GalleryItem> items, int galleryId);
		void AddAttachment(GalleryItem item, int postId);
		void AddAttachments(IEnumerable<GalleryItem> items, int postId);
		bool DeleteGalleryItem(int itemId, int galleryId);
		bool DeleteAttachment(int itemId, int postId);
	}
}
